<?php
// +----------------------------------------------------------------------
// | 后台用户管理
// +----------------------------------------------------------------------
namespace app\common\model;
use think\Model;
use think\Validate;

class ShopRules extends Model
{
	use \base\model\ModelTrait;
	
	/**
     * 错误信息
     */
	public $errorInfo;
	
	/**
     * 获取
     * @param type $uid
     * @return type
     */
	public function getList()
    {
		return self::field("add_time,sort_no",true)->order('sort_no')->all();
    }
	
}
